package com.jye.rseven.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Credit implements Serializable{
    private int id;
    private int credit;
    private int gold;
    private BigDecimal charge; //BigDecimal=>decimal
    private int uId;
    private String lastRemark;
    @Transient
    private User user;
}
